package com.qf.health.mapper;



import com.qf.health.entity.Health;

import java.util.List;

/*2021/10/6*/public interface HealthMapper {
    //1.查询表中总信息条数
    Long selectAllCount();
    //2.分页查询
    List<Health> selectPage();
    //3.增加健康记录
    Integer insertHealth(Health health);
    //4.修改健康记录
    Integer updateHealth(Health health);
    //5.根据id查询健康记录
    Health selectHealthById(int id);
    //6.根据id删除健康信息
    Integer deleteHealthById(Integer id);
}
